package ru.niir.goodfil.audit.domain;

import ru.niir.goodfil.audit.domain.enums.Crud;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Entity
public class ClientUIEvent extends Event {
    @Enumerated(EnumType.STRING)
    private Crud crud;

    private String clientId;

    private String name;

    private String c1Num;

    private String managerName;

    private String debtBank;

    private String debtCash;

    public Crud getCrud() {
        return crud;
    }

    public void setCrud(Crud crud) {
        this.crud = crud;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getC1Num() {
        return c1Num;
    }

    public void setC1Num(String c1Num) {
        this.c1Num = c1Num;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getDebtBank() {
        return debtBank;
    }

    public void setDebtBank(String debtBank) {
        this.debtBank = debtBank;
    }

    public String getDebtCash() {
        return debtCash;
    }

    public void setDebtCash(String debtCash) {
        this.debtCash = debtCash;
    }

    @Override
    public String toString() {
        return "ClientUIEvent{" +
                "crud=" + crud +
                ", clientId='" + clientId + '\'' +
                ", name='" + name + '\'' +
                ", c1Num='" + c1Num + '\'' +
                ", managerName='" + managerName + '\'' +
                ", debtBank='" + debtBank + '\'' +
                ", debtCash='" + debtCash + '\'' +
                '}';
    }
}
